/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function setHeightForSideBar() {
    var h = $(window).height();
    $('.sidebar').css('height', h + 'px');
}

$(document).ready(function() {
    setHeightForSideBar();
    
    $(window).resize(setHeightForSideBar);
    
    $('.bxslider').bxSlider({pager: false});
    
    $('#tblcontents').click(function() {
        $('#mainPage').toggleClass('showNavi');
    });
});
